package com.overseasShopping.Biz;

import java.util.List;

import com.overseasShopping.pojo.DetailUser;
import com.overseasShopping.pojo.User;


public interface UserBiz {
	//注册
	public void addUser(User user);
	//根据id查询用户
	public User getUser(String id);
	//获取好友
	public List<DetailUser> getFriends(String userId);
	
	public List<DetailUser> getBlackList(String userId);
	//修改密码
	public User updatePassword(User user);
	//登录
	public User login(String uid,String password);
	//添加好友
	public void addFriend(String uid,String fid);
	
	public void deleteFriend(String uid,String fid);
	//移除黑名单
	public void deleteBlackUser(String uid,String bid);
	
	public void addBlackList(String uid,String bid);
	
	public void updateUser(User user);
}
